package org.sample.ams.apis.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.wisdom.annotation.WisdomController;
import org.wisdom.vo.ResponseResult;

/**
 * @author 张智研
 * @date 2022/05/29 22:35
 **/
@WisdomController
@RequestMapping("/workOrder")
public class WorkOrderControllerImpl {

    @GetMapping("/test")
    public ResponseResult<String> test(@RequestParam("name") String name) {
        return ResponseResult.ok(name);
    }
}
